import rxAjax from '@/assets/js/ajax.js';

//sys_excel api接口
export const EmailApi = {};

//测试连接
EmailApi.testConnect =function(parameter) {
  var url= "/api-system/system/email/testConnect";
  return rxAjax.postJson(url,parameter);
}

/**
 * 保存邮件配置.
 * @param parameter
 * @returns {*}
 */
EmailApi.saveEmailConfig =function(parameter) {
    var url= "/api-system/system/email/saveEmailConfig";
    return rxAjax.postJson(url,parameter);
}


export  default EmailApi;

